﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Notes.Model;
using System.Linq;
using System.Collections.ObjectModel;

namespace Notes.ViewModels
{
    public class DetailViewModel
    {
        public bool IsDataLoaded { get; private set; }
        public Note Note { get; private set; }

        public void LoadData(int id)
        {
            Note = App.MainViewModel.Notes[id];

            this.IsDataLoaded = true;
        }

    }
}
